<template>
  <div>
    <div class="form">
      <div class="search">
        <el-input
          :placeholder="placeholderChange"
          v-model="content"
          class="search_info input-with-select"
        >
          <i slot="prefix" class="el-input__icon el-icon-search"></i>
          <el-select
            v-model="searchType"
            slot="prepend"
            @change="searchChange"
            placeholder="请选择搜索范围"
            class="search_info1"
          >
            <el-option
              v-for="item in searchTypeList"
              :key="item.key"
              :label="item.value"
              :value="item.key"
            ></el-option>
          </el-select>
        </el-input>
        <el-select v-model="entType" placeholder="请选择国标行业" class="search_info">
          <el-option
            v-for="item in entTypeList"
            :key="item.key"
            :label="item.value"
            :value="item.key"
          ></el-option>
        </el-select>
        <!-- <el-select v-model="entDetailType" placeholder="所属行业" class="search_info">
          <el-option
            v-for="item in entDetailTypeList"
            :key="item.key"
            :label="item.value"
            :value="item.key"
          ></el-option>
        </el-select>-->
        <el-select v-model="areaName" placeholder="所属区域" class="search_info">
          <el-option
            v-for="item in areaNameList"
            :key="item.key"
            :label="item.value"
            :value="item.key"
          ></el-option>
        </el-select>
      </div>
      <div>
        <el-select v-model="regcap" placeholder="注册资本(万元)" class="search_info">
          <el-option
            v-for="item in regcapList"
            :key="item.key"
            :label="item.value"
            :value="item.key"
          ></el-option>
        </el-select>
        <el-select v-model="estDate" placeholder="成立年限" class="search_info">
          <el-option
            v-for="item in estDateList"
            :key="item.key"
            :label="item.value"
            :value="item.key"
          ></el-option>
        </el-select>
        <el-select v-model="entState" placeholder="经营状态" class="search_info">
          <el-option
            v-for="item in entStateList"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          ></el-option>
        </el-select>
        <div class="pos_right_btn">
          <el-button @click="reset()">重置</el-button>
          <el-button type="primary" @click="getList(1)" class="searchBtn">搜索</el-button>
        </div>
      </div>
      <el-table
        class="listTable"
        v-loading="listLoading"
        :data="list"
        border
        fit
        highlight-current-row
        style="width: 100%;"
      >
        <el-table-column label="企业名称" prop="id" align="center">
          <template slot-scope="{row}">
            <span>{{ row.ENTNAME }}</span>
          </template>
        </el-table-column>
        <el-table-column label="法人姓名" align="center">
          <template slot-scope="{row}">
            <span>{{ row.LEREP }}</span>
          </template>
        </el-table-column>
        <el-table-column label="注册资本(万元)" align="center">
          <template slot-scope="{row}">
            <span>{{ row.REGCAP }}</span>
          </template>
        </el-table-column>
        <el-table-column label="成立时间" width="160" align="center">
          <template slot-scope="{row}">
            <span>{{ row.ESTDATE }}</span>
          </template>
        </el-table-column>
        <el-table-column label="企业性质" align="center">
          <template slot-scope="{row}">
            <span>{{ row.ECONAT }}</span>
          </template>
        </el-table-column>
        <el-table-column label="经营状态" align="center">
          <template slot-scope="{row}">
            <span :class="{'res_color': row.taskStatus == 2}">{{ row.STATE }}</span>
          </template>
        </el-table-column>
        <el-table-column label="公司地址" align="center">
          <template slot-scope="{row}">
            <span :class="{'res_color': row.taskStatus == 2}">{{ row.DOM }}</span>
          </template>
        </el-table-column>
        <!-- <el-table-column label="经营范围" align="center">
          <template slot-scope="{row}">
            <span :class="{'res_color': row.taskStatus == 2}">{{ row.OPSCOPE }}</span>
          </template>
        </el-table-column>-->
        <el-table-column label="操作" align="center">
          <template slot-scope="{row}">
            <div class="opt_table">
              <div class="opt_font" @click="preview(row.ENTNAME, row.ID)">企业概况</div>
              <div class="opt_font" @click="toMoveAx(row.ENTNAME)">安信图谱</div>
            </div>
          </template>
        </el-table-column>
      </el-table>

      <el-pagination
        :total="total"
        layout="total, sizes, prev, pager, next"
        :page-size="limit"
        :page-sizes="[10, 20, 50, 100]"
        @size-change="handleSizeChange"
        :current-page.sync="curPage"
        @current-change="getList($event,'正常')"
        class="sortStyle"
      />
      <el-dialog :visible.sync="detailShow" title="企业概况" width="1096px">
        <div>
          <div class="detail_title pos_top top_more">
            <div class="det_flex">
              <div>
                <span></span>
                基本信息
              </div>
            </div>
          </div>
          <div class="detail_info">
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">企业名称</div>
                </div>
                <div class="info_left_content">{{listData.entname}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">统一社会信用代码</div>
                </div>
                <div class="info_left_content">{{listData.uniscid}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">企业性质</div>
                </div>
                <div class="info_left_content">{{listData.econat}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">经营状态</div>
                </div>
                <div class="info_left_content">{{listData.state}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">所属行业</div>
                </div>
                <div class="info_left_content">{{listData.industryphy}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">成立时间</div>
                </div>
                <div class="info_left_content">{{listData.estdatestr}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">公司类型</div>
                </div>
                <div class="info_left_content">{{listData.enttypename}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">营业期限</div>
                </div>
                <div class="info_left_content">{{listData.oplimit}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">法人代表人</div>
                </div>
                <div class="info_left_content">{{listData.lerep}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">发照日期</div>
                </div>
                <div class="info_left_content">{{listData.apprdatestr}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">注册资本(万元)</div>
                </div>
                <div class="info_left_content">{{listData.regcap}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">行政区划</div>
                </div>
                <div class="info_left_content">{{listData.oplocdistrict}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title">
                  <div class="font">企业地址</div>
                </div>
                <div class="info_left_content">{{listData.dom}}</div>
              </div>
              <div class="info_right">
                <div class="info_left_title">
                  <div class="font">注册</div>
                </div>
                <div class="info_left_content">{{listData.regno}}</div>
              </div>
            </div>
            <div class="row">
              <div class="info_left">
                <div class="info_left_title" style="height:unset">
                  <div class="font">经营范围</div>
                </div>
                <div class="info_left_contents">{{listData.opscope}}</div>
              </div>
            </div>
          </div>
          <div class="detail_title pos_top">
            <span></span>
            股东信息
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="needData"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="股东" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.inv }}</span>
              </template>
            </el-table-column>
            <el-table-column label="股东类型" align="center">
              <template slot-scope="{row}">
                <span>{{ row.invtype }}</span>
              </template>
            </el-table-column>
            <el-table-column label="认缴出资(万元)" align="center">
              <template slot-scope="{row}">
                <span>{{ row.subconam }}</span>
              </template>
            </el-table-column>
            <el-table-column label="实缴出资(万元)" align="center">
              <template slot-scope="{row}">
                <span>{{ row.subconam }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            高管信息
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="goodsList"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="高管类型" align="center">
              <template slot-scope="{row}">
                <span>{{ row.name }}</span>
              </template>
            </el-table-column>
            <el-table-column label="高管名称" align="center">
              <template slot-scope="{row}">
                <span>{{ row.position }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            变更信息
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="变更事项" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.altitem }}</span>
              </template>
            </el-table-column>
            <el-table-column label="变更日期" align="center">
              <template slot-scope="{row}">
                <span>{{ row.accdate }}</span>
              </template>
            </el-table-column>
            <el-table-column label="变更前" align="center">
              <template slot-scope="{row}">
                <span>{{ row.altbe }}</span>
              </template>
            </el-table-column>
            <el-table-column label="变更后" align="center">
              <template slot-scope="{row}">
                <span>{{ row.altaf }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            经营异常
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList1"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="列入日期" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.abntimestr }}</span>
              </template>
            </el-table-column>
            <el-table-column label="作出决定机关" align="center">
              <template slot-scope="{row}">
                <span>{{ row.organ }}</span>
              </template>
            </el-table-column>
            <el-table-column label="列入经营异常名录原因" align="center">
              <template slot-scope="{row}">
                <span>{{ row.specause }}</span>
              </template>
            </el-table-column>
            <el-table-column label="移除日期" align="center">
              <template slot-scope="{row}">
                <span>{{ row.remdate }}</span>
              </template>
            </el-table-column>
            <el-table-column label="移除经营异常名录原因" align="center">
              <template slot-scope="{row}">
                <span>{{ row.remexcpres }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            行政处罚
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList2"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="处罚文书号" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.pendecno }}</span>
              </template>
            </el-table-column>
            <el-table-column label="处罚名称" align="center">
              <template slot-scope="{row}">
                <span>{{ row.illegacttypename }}</span>
              </template>
            </el-table-column>
            <el-table-column label="决定机关" align="center">
              <template slot-scope="{row}">
                <span>{{ row.orgname }}</span>
              </template>
            </el-table-column>
            <el-table-column label="决定时间" align="center">
              <template slot-scope="{row}">
                <span>{{ row.pendecissdatestr }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            行政许可
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList3"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="许可文件编号" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.licno }}</span>
              </template>
            </el-table-column>
            <el-table-column label="许可文件名称" align="center">
              <template slot-scope="{row}">
                <span>{{ row.licname }}</span>
              </template>
            </el-table-column>
            <el-table-column label="公示日期" align="center">
              <template slot-scope="{row}">
                <span>{{ row.createdatestr }}</span>
              </template>
            </el-table-column>
            <el-table-column label="许可机关" align="center">
              <template slot-scope="{row}">
                <span>{{ row.licanth }}</span>
              </template>
            </el-table-column>
            <el-table-column label="许可内容" align="center">
              <template slot-scope="{row}">
                <span>{{ row.content }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            对外投资
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList4"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="被投资企业名称" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.dwtz }}</span>
              </template>
            </el-table-column>
            <el-table-column label="被投资法定代表人" align="center">
              <template slot-scope="{row}">
                <span>{{ row.tzfrdb }}</span>
              </template>
            </el-table-column>
            <el-table-column label="注册资本(万元)(万元)" align="center">
              <template slot-scope="{row}">
                <span>{{ row.tzzczb }}</span>
              </template>
            </el-table-column>
            <el-table-column label="出资比例" align="center">
              <template slot-scope="{row}">
                <span>{{ row.czbl }}</span>
              </template>
            </el-table-column>
            <el-table-column label="成立日期" align="center">
              <template slot-scope="{row}">
                <span>{{ row.tzestdate }}</span>
              </template>
            </el-table-column>
            <el-table-column label="状态" align="center">
              <template slot-scope="{row}">
                <span>{{ row.tzstate }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            股权出质
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList5"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="登记编号" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.pleregno }}</span>
              </template>
            </el-table-column>
            <el-table-column label="出质人" align="center">
              <template slot-scope="{row}">
                <span>{{ row.inv }}</span>
              </template>
            </el-table-column>
            <el-table-column label="质权人" align="center">
              <template slot-scope="{row}">
                <span>{{ row.imporg }}</span>
              </template>
            </el-table-column>
            <el-table-column label="被担保债权数额(万元)" align="center">
              <template slot-scope="{row}">
                <span>{{ row.priclasecam }}</span>
              </template>
            </el-table-column>
            <el-table-column label="股权出质设立登记日期" align="center">
              <template slot-scope="{row}">
                <span>{{ row.accdatestr }}</span>
              </template>
            </el-table-column>
            <el-table-column label="状态" align="center">
              <template slot-scope="{row}">
                <span>{{ row.state }}</span>
              </template>
            </el-table-column>
          </el-table>
          <div class="detail_title pos_top">
            <span></span>
            动产抵押
          </div>
          <el-table
            class="detailTable"
            v-loading="listLoading"
            :data="changeList6"
            border
            fit
            highlight-current-row
            style="width: 100%;"
          >
            <el-table-column label="登记编号" prop="id" align="center">
              <template slot-scope="{row}">
                <span>{{ row.regno }}</span>
              </template>
            </el-table-column>
            <el-table-column label="登记日期" align="center">
              <template slot-scope="{row}">
                <span>{{ row.regdatestr }}</span>
              </template>
            </el-table-column>
            <el-table-column label="登记机关" align="center">
              <template slot-scope="{row}">
                <span>{{ row.orgid }}</span>
              </template>
            </el-table-column>
            <el-table-column label="被担保债权数额(万元)" align="center">
              <template slot-scope="{row}">
                <span>{{ row.priclasecam }}</span>
              </template>
            </el-table-column>
            <el-table-column label="状态" align="center">
              <template slot-scope="{row}">
                <span>{{ row.state }}</span>
              </template>
            </el-table-column>
          </el-table>
        </div>
      </el-dialog>
    </div>
  </div>
</template>

<script>
import {
  dictType,
  axcubeList,
  jbxx,
  gdjczdj,
  zyry,
  jbxxbg,
  jyyc,
  xzcf,
  xzxk,
  dwtz,
  gqczdj,
  dcdydj,
  redirect
} from "@/api/system/user";
import { MessageBox } from "element-ui";
export default {
  components: {},
  data() {
    return {
      workCode: "",
      workStatus: "",
      status: [],
      list: [],
      listLoading: false,
      total: 0,
      limit: 10,
      curPage: 1,
      needData: [],
      goodsList: [],
      changeList: [],
      changeList1: [],
      changeList2: [],
      changeList3: [],
      changeList4: [],
      changeList5: [],
      changeList6: [],
      listData: [],
      detailShow: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        userName: undefined,
        phonenumber: undefined,
        status: undefined,
        deptId: undefined
      },
      // 日期范围
      dateRange: [],
      // 总条数
      total: 0,
      // 用户表格数据
      userList: null,
      content: "",
      searchType: "ALL",
      regcap: "",
      estDate: "",
      entState: "",
      placeholderChange: "企业名称/法人代表/经营范围",
      entType: "",
      entDetailType: "",
      areaName: "",
      searchTypeList: [],
      entTypeList: [],
      entDetailTypeList: [],
      areaNameList: [],
      regcapList: [],
      estDateList: [],
      entStateList: []
    };
  },
  created() {},
  mounted() {
    // this.getList(1)
    this.searchList();
    this.getList(1, "正常", "1");
  },
  methods: {
    searchChange(val) {
      this.content = "";
      if (val == "ALL") {
        this.placeholderChange = "企业名称/法人代表/经营范围";
      } else if (val == "OPSCOPE") {
        this.placeholderChange = "请填写经营范围";
      } else if (val == "ENTNAME") {
        this.placeholderChange = "请填写企业名称";
      } else if (val == "LEREP") {
        this.placeholderChange = "请填写法人代表";
      }
    },
    //搜索范围、注册资本(万元)、成立年限、经营状态、国标行业、所属区域
    searchList() {
      dictType("ax_cube_search_type").then(res => {
        res.data.forEach(element => {
          this.searchTypeList.push({
            key: element.dictValue,
            value: element.dictLabel
          });
        });
      });
      dictType("ax_cube_regcap").then(res => {
        res.data.forEach(element => {
          this.regcapList.push({
            key: element.dictValue,
            value: element.dictLabel
          });
        });
      });
      dictType("ax_cube_est_date").then(res => {
        res.data.forEach(element => {
          this.estDateList.push({
            key: element.dictValue,
            value: element.dictLabel
          });
        });
      });
      dictType("ax_cube_ent_state").then(res => {
        res.data.forEach(element => {
          this.entStateList.push({
            key: element.dictValue,
            value: element.dictLabel
          });
        });
      });
      dictType("ax_cube_industry").then(res => {
        res.data.forEach(element => {
          this.entTypeList.push({
            key: element.dictValue,
            value: element.dictLabel
          });
        });
      });
      dictType("ax_cube_area_name").then(res => {
        res.data.forEach(element => {
          this.areaNameList.push({
            key: element.dictValue,
            value: element.dictLabel
          });
        });
      });
    },
    reset() {
      this.page = 1;
      this.content = "";
      //this.searchType = "";
      this.regcap = "";
      this.estDate = "";
      this.entState = "";
      this.entType = "";
      this.entDetailType = "";
      this.areaName = "";
      this.getList(1, "正常", "1");
    },
    /** 跳转安信图谱 */
    toMoveAx(entName) {
      this.listLoading = true;
      redirect(entName).then(res => {
        this.listLoading = false;
        if (res.code == 200) {
          if (res.data) {
            let url =
              res.data.url +
              "?username=" +
              res.data.username +
              "&channel=" +
              res.data.channel +
              "&name=" +
              res.data.name;
            window.open(url);
          }
        } else {
          this.$message({ message: res.msg, type: "error" });
        }
      });
    },
    /** 查询用户列表 */
    getList(page, entState, searchTips) {
      if (entState) {
        this.entState = entState;
      }
      let searchTypes = "";
      console.log(searchTips, this.searchType);
      if (searchTips == "1") {
        searchTypes = "";
      } else {
        searchTypes = this.searchType;
        if (this.content && !this.searchType) {
          this.$message({
            message: "请选择搜索范围再点击搜索按钮",
            type: "info"
          });
          return;
        }
        if (!this.content && this.searchType) {
          this.$message({
            message: "请输入企业名称或法人代表再点击搜索按钮",
            type: "info"
          });
          return;
        }
      }
      var params = {
        pageNum: page,
        pageSize: this.limit,
        content: this.content,
        searchType: searchTypes,
        regcap: this.regcap,
        estDate: this.estDate,
        entState: this.entState || entState,
        entType: this.entType,
        entDetailType: this.entDetailType,
        areaName: this.areaName
      };
      this.listLoading = true;
      axcubeList(params).then(response => {
        this.list = response.rows;
        this.total = response.total;
        this.listLoading = false;
      });
    },
    goback() {
      this.detailShow = false;
    },
    handleSizeChange(val) {
      this.limit = val;
      this.getList(1);
    },
    //任务详情
    preview(entName, id) {
      this.needData = [];
      this.detailShow = true;
      this.listLoading = true;
      jbxx(entName).then(response => {
        this.listData = response.data;
      });
      gdjczdj(id).then(response => {
        this.needData = response.rows;
      });
      zyry(id).then(response => {
        this.goodsList = response.rows;
      });
      jbxxbg(id).then(response => {
        this.changeList = response.rows;
      });
      jyyc(id).then(response => {
        this.changeList1 = response.rows;
      });
      xzcf(id).then(response => {
        this.changeList2 = response.rows;
      });
      xzxk(id).then(response => {
        this.changeList3 = response.rows;
      });
      dwtz(id).then(response => {
        this.changeList4 = response.rows;
      });
      gqczdj(id).then(response => {
        this.changeList5 = response.rows;
      });
      dcdydj(id).then(response => {
        this.listLoading = false;
        this.changeList6 = response.rows;
      });
    }
  }
};
</script>
<style scoped>
.form {
  padding-left: 26px;
  padding-right: 24px;
  padding-top: 24px;
  background: #fff;
}
.search {
  display: flex;
  position: relative;
}
.search_info {
  width: 192px;
  height: 40px;
  margin-right: 16px;
}
.search_info1 {
  height: 36px;
  /* margin-right: 16px; */
}
/deep/.el-input-group__prepend {
  background-color: #fff !important;
  width: 140px;
  padding: 0 20px 0 0px;
}
.input-with-select {
  width: 400px;
  height: 36px;
}
.searchBtn {
  margin-left: 16px;
  height: 36px;
}
.sortStyle {
  height: 19px;
  float: right;
  /* right: 24px; */
  margin-top: 20px;
  margin-bottom: 30px;
}
.pos_right_btn {
  position: absolute;
  right: 24px;
  top: 24px;
}
.opt_table {
  display: flex;
  justify-content: space-around;
}
.opt_font {
  cursor: pointer;
  color: #2e82ff;
}
.detail_title {
  font-size: 16px;
  font-weight: 400;
  color: #212121;
  line-height: 22px;
}
.detail_title span {
  padding-left: 4px;
  background: #1e88e5;
  margin-right: 12px;
}
.row {
  display: flex;
  /* padding-bottom: 12px; */
}
.detail_info {
  padding-top: 16px;
}
.info_left {
  display: flex;
}
.info_right {
  display: flex;
  /* padding-left: 202px; */
}
.info_left_title {
  font-size: 14px;
  font-weight: 400;
  color: #616161;
  line-height: 20px;
  width: 256px;
  /* margin-right: 16px; */
  text-align: center;
  min-height: 47px;
  background: #f5f7fa;
  box-shadow: inset 0 -1px 0 0 #dcdfe6;
}
.info_left_title .font {
  position: relative;
  top: 14px;
}
.info_left_content {
  font-size: 14px;
  font-weight: 400;
  color: #212121;
  line-height: 20px;
  width: 256px;
  /* border: 1px solid #DCDFE6; */
  box-shadow: inset -1px -1px 0 0 #dcdfe6;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info_left_contents {
  font-size: 14px;
  font-weight: 400;
  color: #212121;
  line-height: 20px;
  width: 769px;
  /* border: 1px solid #DCDFE6; */
  box-shadow: inset -1px -1px 0 0 #dcdfe6;
  text-align: left;
}
.pos_top {
  padding-top: 12px;
}
.detailTable {
  margin-top: 16px;
}
.opt_font {
  color: #1e88e5;
  cursor: pointer;
}
.page_pos {
  text-align: right;
  padding-top: 10px;
}
.backBtn {
  text-align: center;
  margin-top: 10px;
}
/deep/ .el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100% -30px);
  /* max-width: ; */
}
/deep/ .check .el-dialog__body {
  /* flex: 1; */
  height: 200px;
  overflow-y: auto;
  padding-top: 0;
}
/deep/ .el-dialog__body {
  /* flex: 1; */
  height: 600px;
  overflow-y: auto;
  padding-top: 0;
}
.tab {
  display: flex;
  position: absolute;
  right: 32px;
  top: 14px;
}
.tab_border {
  border: 1px solid #409eff;
  color: #409eff;
  padding: 10px 12px;
  font-size: 14px;
  margin-right: 16px;
}
.change {
  border: 1px solid #f56c6c;
  color: #f56c6c;
}
.listTable {
  margin-top: 17px;
}
</style>
